package com.hzjy.api.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzjy.common.annotation.Excel;

import java.util.Date;

/**
 * 文件上传记录对象 hzjy_file_upload_record
 *
 * @author hzjy
 * @date 2020-08-31
 */
public class HzjyFileUploadRecord {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 文件上传后的服务器url
     */
    @Excel(name = "文件上传后的服务器url")
    private String fileUrl;

    /**
     * 文件上传时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "文件上传时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() {
        return uploadTime;
    }
}
